#!/bin/bash
WDIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
cd ../gserver
export GOPATH=`pwd`
cd $WDIR
export PATH=$GOPATH/bin/:$PATH
protoc --go_out=$GOPATH/src/ocean ocean.proto
